#ifndef SHELL_H
#define SHELL_H

#define PRINT_HEX 0x00
#define PRINT_DEC 0x01
#define OS_SHELL_MAX_PARA_NUM  6
typedef struct{
  char *pName;
  unsigned char (*pCmdFunc)(unsigned char Argc,char **Argv);
}S_OS_Shell_Cmd;

extern volatile unsigned char Print_Flag;

unsigned char SetStep(unsigned char argc, char **argv);

void shell_proc(void);
void DEBUG_PRINT(char *format,...);
void Debug_Buf_Print(char * Src, unsigned int SrcLen, char Flag);
void Set_Debug(unsigned char flag);
#endif
